package com.green.model.manage;

import com.green.model.ExtraEntity;
import com.green.model.manage.enums.JoinTypeEnum;
import com.green.model.manage.enums.StateEnum;

/**
 * erp端口套餐
 * @author 
 */
public class ErpPackage extends ExtraEntity<String> {
	
	   /**
	 * 
	 */
	private static final long serialVersionUID = 3247398703445636229L;
	
	   private int freeDays;//试用期 天
	   private String positionId;//ID加盟岗位ID串
	   private String positionName;//岗位名称
	   private JoinTypeEnum type;//套餐类别
	   private String limitCity;//城市 加盟组织ID串
	   private String limitCityName;//城市 加盟组织名称串
	   private StateEnum status;// 状态
	   private String dotJsonDetail;//折扣明细  保存套餐时使用
	   private String typeName;//折扣明细  保存套餐时使用
	   
	
	public String getTypeName() {
		if(null!=type){
			return type.getName();
		}
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public String getLimitCityName() {
		return limitCityName;
	}
	public void setLimitCityName(String limitCityName) {
		this.limitCityName = limitCityName;
	}
	public String getDotJsonDetail() {
		return dotJsonDetail;
	}
	public void setDotJsonDetail(String dotJsonDetail) {
		this.dotJsonDetail = dotJsonDetail;
	}
	public StateEnum getStatus() {
		return status;
	}
	public void setStatus(StateEnum status) {
		this.status = status;
	}
	public int getFreeDays() {
		return freeDays;
	}
	public void setFreeDays(int freeDays) {
		this.freeDays = freeDays;
	}
	public String getPositionId() {
		return positionId;
	}
	public void setPositionId(String positionId) {
		this.positionId = positionId;
	}
	public String getPositionName() {
		return positionName;
	}
	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}
	public JoinTypeEnum getType() {
		return type;
	}
	public void setType(JoinTypeEnum type) {
		this.type = type;
	}
	public String getLimitCity() {
		return limitCity;
	}
	public void setLimitCity(String limitCity) {
		this.limitCity = limitCity;
	}

	   
	   
}
